package com.voicechat.firstmet.bean;

/**
 * @ProjectName: FirstMet
 * @Package: com.voicechat.firstmet.bean
 * @ClassName: Result
 * @Description: 默认接收json参数类
 * @Author: ljp
 * @CreateDate: 2018/9/17 19:26
 * @Version: 1.0
 */
public class Result {
    /**
     * code : 1003
     * msg : 手机号码不存在
     * map : {"mobile":"123456"," code":"4164"}
     */

    private int code;
    private String msg;
    private String token;

   // private MapBean map;


    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

   /* public MapBean getMap() {
        return map;
    }

    public void setMap(MapBean map) {
        this.map = map;
    }

    public static class MapBean {
        *//**
         * mobile : 123456
         *  code : 4164
         *//*

        private String mobile;
        private String code;

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }
    }*/

    @Override
    public String toString() {
        return "Result{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", token='" + token + '\'' +
                '}';
    }
}
